package com.mail.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mail.model.db.SmsHomeAdvertise;

import java.util.List;

public interface SmsHomeAdvertiseApi {
    void create(SmsHomeAdvertise advertise);

    void delete(List<Long> ids);


    Page<SmsHomeAdvertise> list(SmsHomeAdvertise advertise, Long pageNum, Long pageSize, String endTime);

    void updateStatusById(Long id, Integer status);


    void updateById(Long id, SmsHomeAdvertise advertise);

    SmsHomeAdvertise getAdvertiseById(Long id);

}
